package com.mju.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.mju.model.RoleUri;

public interface RoleUriMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(RoleUri row);

    int insertSelective(RoleUri row);

    RoleUri selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(RoleUri row);

    int updateByPrimaryKey(RoleUri row);
    
    //根据用户号获取角色所具备的资源
    List<String> selectUriByUser(String studentno);
    //根据所继承角色获取具备的资源
    List<String> selectUriByRole(@Param("list") List<String> roles);
}